﻿using System;

namespace easyccms.BusinessLayer.Entities
{
    /// <summary>
    /// Class representing User groups.
    /// </summary>
    public class UserGroup: Entity
    {
        /// <summary>
        /// Gets or sets the user group id.
        /// </summary>
        /// <value>
        /// The user group id.
        /// </value>
        public virtual int UserGroupId { get; set; }

        /// <summary>
        /// Gets or sets the name of the group.
        /// </summary>
        /// <value>
        /// The name of the group.
        /// </value>
        public virtual string GroupName { get; set; }

        /// <summary>
        /// Gets or sets the created.
        /// </summary>
        /// <value>
        /// The created.
        /// </value>
        public virtual DateTime Created { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="UserGroup"/> is enabled.
        /// </summary>
        /// <value>
        ///   <c>true</c> if enabled; otherwise, <c>false</c>.
        /// </value>
        public virtual bool Enabled { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this <see cref="UserGroup"/> is deleted.
        /// </summary>
        /// <value>
        ///   <c>true</c> if deleted; otherwise, <c>false</c>.
        /// </value>
        public virtual bool Deleted { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this user group can be deleted.
        /// </summary>
        /// <value>
        /// 	<c>true</c> this user group can be deleted; otherwise, <c>false</c>.
        /// </value>
        public virtual bool CanDelete { get; set; }
    }
}
